package com.ruoyi.mes.service;

import java.util.List;
import com.ruoyi.mes.domain.NewEnergyStrategy;

/**
 * 节能策略库Service接口
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public interface INewEnergyStrategyService 
{
    /**
     * 查询节能策略库
     * 
     * @param strategyId 节能策略库主键
     * @return 节能策略库
     */
    public NewEnergyStrategy selectNewEnergyStrategyByStrategyId(Long strategyId);

    /**
     * 查询节能策略库列表
     * 
     * @param newEnergyStrategy 节能策略库
     * @return 节能策略库集合
     */
    public List<NewEnergyStrategy> selectNewEnergyStrategyList(NewEnergyStrategy newEnergyStrategy);

    /**
     * 新增节能策略库
     * 
     * @param newEnergyStrategy 节能策略库
     * @return 结果
     */
    public int insertNewEnergyStrategy(NewEnergyStrategy newEnergyStrategy);

    /**
     * 修改节能策略库
     * 
     * @param newEnergyStrategy 节能策略库
     * @return 结果
     */
    public int updateNewEnergyStrategy(NewEnergyStrategy newEnergyStrategy);

    /**
     * 批量删除节能策略库
     * 
     * @param strategyIds 需要删除的节能策略库主键集合
     * @return 结果
     */
    public int deleteNewEnergyStrategyByStrategyIds(Long[] strategyIds);

    /**
     * 删除节能策略库信息
     * 
     * @param strategyId 节能策略库主键
     * @return 结果
     */
    public int deleteNewEnergyStrategyByStrategyId(Long strategyId);
}
